package com.cole.gx095.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import java.sql.Timestamp;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class BillCorData {
    private String type;//Purchasecontract
    private String supplier;//Purchasecontract

    private String saleBillNum;//
    private int stockgoodsId;//stockgoods
    private Integer contractId;//stockgoods
    private String contractNum;//stockgoods
    private Integer billId;//stockgoods
    private String billNum;//stockgoods
    @Column(name = "CreateDate")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp createDate;//stockgoods
    /**
     * 品名
     */
    private String typeName;//stockgoods
    private String goodsName;//stockgoods
    /**
     * 型号
     */
    private String modle;//stockgoods
    /**
     * 关联数量
     */
    private Integer correlationAccount;//stockgoods
    /**
     * 剩余数量
     */
    private Integer remainAccount;//stockgoods
    /**
     * 商品总数
     */
    private Integer goodsAccount;//stockgoods
    private Double goodsUnitPrice;//stockgoods
    private Double goodsSumPrice;//stockgoods
    private String remakes;//stockgoods
}
